home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
apidev
/
batuti.arc
/
ANW.H
< prev
next >
Wrap
Text File
|
1990-01-11
|
1KB
|
66 lines
/* anw.h -- data structures used for anw function calls */
/* Richard Connelly (C) 1989,1990 */
typedef struct { /* struct used to access NET$ACCT.DAT */
/* static portion */
int length ;
long serverid ;
int year,
month,
hour,
minute,
second ;
char completioncode ;
int servicetype ;
long clientid ;
long amount ;
int commenttype ;
} CHARGERECORD;
typedef struct { /* struct used to access NET$REC.DAT */
/* static portion */
int length ;
int commenttype;
char fieldcount;
} FIELDRECORD ;
typedef struct {
int length ;
char function;
char station ;
} OUTPACKET ;
typedef struct { /* function 16h */
int length ;
char objectid[4] ;
int objecttype ;
char objectname[48] ;
unsigned char year ; /* login time */
unsigned char month ;
unsigned char day ;
unsigned char hour ;
unsigned char minute ;
unsigned char second ;
unsigned char dayofweek ;
} CONNECTINFO ;
typedef struct {
int length ;
char network[4] ;
char host[6] ;
char socket[2] ;
} MAP ;
/*
* function prototypes for anw.c
*/
char *GetStationAddress(void);
int GetConnectionNumber(void);
CONNECTINFO GetConnectInfo(int station);